package com.lingnan.entity.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.apache.logging.log4j.core.config.plugins.validation.constraints.NotBlank;

// 企业认证结果通知请求
@Data
public class CompanyVerificationRequest {
    @NotNull(message = "接收者ID不能为空")
    private Long receiverId;
    
    @NotBlank(message = "公司名称不能为空")
    private String companyName;
    
    @NotNull(message = "认证结果不能为空")
    private boolean approved;
    
    private String reason; // 拒绝原因，认证通过时可为空
}